package com.sx.zongzhi.adapter;


import android.content.Context;

import com.sx.zongzhi.R;
import com.sx.zongzhi.bean.ServicerBean;
import com.zhy.adapter.abslistview.CommonAdapter;
import com.zhy.adapter.abslistview.ViewHolder;

import java.util.List;

/**
 * Created by XZY on 2017/11/23.
 * 服务人员选择
 */
public class ServicerSelectAdapter extends CommonAdapter<ServicerBean.RowsBean> {

    public ServicerSelectAdapter(Context context, int layoutId, List<ServicerBean.RowsBean> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convert(ViewHolder viewHolder, final ServicerBean.RowsBean item, int position) {
        viewHolder.setText(R.id.checkbox,item.getMemberName());
        viewHolder.setText(R.id.tv_Phone,item.getTeamName());
    }
}
